home *** CD-ROM | disk | FTP | other *** search
- // -----
- // UpgrInfo.txt = VDL176.txt
- // Copyright 1996 Claris
- // -----
-
-
- //Upgrade Info dialog
-
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
- #define aboutText1 "Welcome to Claris Home Page Lite"
- #define aboutText2 "Upgrade to Claris Home Page 2.0"
- #define aboutText3 "If you like Claris Home Page Lite, you may be interested"\
- " in trying out Claris Home Page."
- #define aboutText4 "Claris Home Page 2.0 has all of the same easy to use features"\
- " as Claris Home Page Lite plus additional features including:"\
- " HTML source code editing, the ability to create and edit frame"\
- " documents, forms, expanded libraries, additional templates,"\
- " spell checking and more!"
- #define aboutText5 "Find out more about Claris Home Page from our Web site:"
- #define aboutText6 "http://www.claris.com/chplite-upgrade"
- #define aboutText7 "or call:"
- #define aboutText8 "In US: (800) 544-8554"
- #define aboutText9 "In Canada: (800) 361-6075"
- #define aboutText10 "From other countries: +1 (408) 987-7000"
-
- #define kLit1 "&Don't show this window again"
- #define kLit2 "&OK"
-
- //Localized Fonts
- #if Platform_Mac
- #define AboutFont1 Font = {Geneva, 12, {Bold}}
- #define AboutFont2 Font = {Geneva, 10, {Plain}}
- #define LinkFont Font = {Geneva, 10, {Underline}}
- #define CheckBoxFont Font = {Geneva, 10, {Plain}}
- #else
- #define AboutFont1 Font = {Arial, 10, {Bold}}
- #define AboutFont2 Font = {Arial, 9, {Plain}}
- #define LinkFont Font = {Arial, 9, {Underline}}
- #define CheckBoxFont SystemFont
- #endif
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
-
- //Widths of all the buttons, when visible. Note that the width of the dialog
- //is computed without checking the button widths. This is so they
- //automatically right-justify themselves. If you need to make the buttons wider than
- //the dialog is allowing for, increase the kDialogMinWidth constant to add padding
- //to the dialog. Alternately, you can increase the kInfoViewRightMargin constant
- #define kButtonWidth 60
-
- //See comment above. Minimum width of the dialog. Typically not used.
- #define kDialogMinWidth 0
-
- //"Home Page Lite" logotype
- #define kHomePagePictLeftMargin 60
- #define kHomePagePictTopMargin 16
-
- // CHP retail box graphic.
- #define kBoxGraphicLeftMargin 0
- #define kBoxGraphicTopMargin 25
-
- // info view
- #define kInfoViewWidth 350
- #define kInfoViewLeftMargin 10
- #define kInfoViewTopMargin1 10
- #define kInfoViewParagraphSpace 5
-
- //Width of the OK Button
- #if Platform_Mac
- #define kOKButtonWidth 70
- #else
- #define kOKButtonWidth 100
- #endif
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
- // colors
- #define SplashColor White
- #define LinkColor Blue
-
- // command codes
- #define ccOK 1071
-
-
- Margin(0, 0, 10, 10, BackColor = SplashColor)
- VList()
- {
- Spacer(Height = 0, Width = kDialogMinWidth);
-
- Margin(kHomePagePictLeftMargin, kHomePagePictTopMargin, 0, 0)
- PICT(15021, DontMap); // big text: "Claris Home Page Lite"
-
- HList()
- {
- Margin(kBoxGraphicLeftMargin, kBoxGraphicTopMargin, 0, 0)
- PICT(15022, DontMap);
-
- VList()
- {
- Margin(kInfoViewLeftMargin, kInfoViewTopMargin1, 0, 0)
- Switch(showCheckBox)
- {
- case 1:
- StaticText(aboutText1, Alignment = Left, Width = kInfoViewWidth, AboutFont1);
- case 0:
- default:
- StaticText(aboutText2, Alignment = Left, Width = kInfoViewWidth, AboutFont1);
- }
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText3, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText4, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText5, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText6, Alignment = Left, Width = kInfoViewWidth, LinkFont);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText7, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText8, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText9, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
- Margin(kInfoViewLeftMargin, kInfoViewParagraphSpace, 0, 0)
- StaticText(aboutText10, Alignment = Left, Width = kInfoViewWidth, AboutFont2);
-
- Margin(20, 20, 0, 0)
- Switch(showCheckBox)
- {
- case 1:
- CheckBox(kLit1, skipUpgradeInfoDialog, CheckBoxFont);
- default:
- Spacer(Height = 0, Width = 0);
- }
-
- }
- }
- Margin(0, 0, 0, 0)
- HList(Width = UseParent)
- {
- Spacer(Width = UseParent, Height = 0);
- DefaultButton( kLit2, ccOK, "None", Width = kOKButtonWidth);
- }
- } //Main List
-
-